﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NationalD3.Domain.Commands.Students;

namespace NationalD3.Domain.Validations.Students
{
    /// <summary>
    /// 添加学生命令模型的模型验证
    /// </summary>
    public class RegisterStudentCommandValidation : StudentValidation<RegisterStudentCommand>
    {
        /// <summary>
        /// 构造方法
        /// </summary>
        public RegisterStudentCommandValidation()
        {
            this.ValidateName();
            this.ValidateEmail();
            this.ValidatePhone();
            this.ValidateBirthDate();

            //其他需要验证的
        }
    }
}
